package com.neuedu.nevserver.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author sjy
 * @since 2025-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ProductType对象", description="")
public class ProductType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "产品类型编号")
    @TableId(value = "product_type_id", type = IdType.AUTO)
    private Integer productTypeId;

    @ApiModelProperty(value = "产品类型名称")
    private String productTypeName;

    @ApiModelProperty(value = "父级id")
    private Integer parentId;

    public Integer getProductTypeId() {
        return productTypeId;
    }

    public void setProductTypeId(Integer productTypeId) {
        this.productTypeId = productTypeId;
    }

    public String getProductTypeName() {
        return productTypeName;
    }

    public void setProductTypeName(String productTypeName) {
        this.productTypeName = productTypeName;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
}
